package converter;

import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.Panel;
import java.awt.Label;
import java.awt.TextField;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JComboBox;




public class ConverterWindow extends Frame {
	private Panel panel;
	JComboBox jCombobox1;
	TextField textField1;
	TextField textField2;
	JComboBox jCombobox2;
	
	public ConverterWindow(String titre){
		super(titre);
		this.setLayout(new FlowLayout());
		this.panel = new Panel();
		this.panel.setLayout(new GridLayout(4, 2, 10, 10));
		this.jCombobox1 = new JComboBox();
		this.panel.add(jCombobox1);
		this.textField1 = new TextField("10");
		this.panel.add(textField1);
		this.textField2 = new TextField("10");
		this.panel.add(textField2);
		this.jCombobox2 = new JComboBox();
		this.panel.add(jCombobox2);
		this.add(panel);
		this.pack();
		this.setVisible(true);
		
		
		
		
	}

}
